package com.sunyifeng.ch10;

import java.util.*;

/**
 * 10.1 为空值建模
 */
public class Person {

    private Optional<Car> car;

    public Optional<Car> getCar() {
        return car;
    }
}
